<!-- Contact Form HTML -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="todo-styles.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="formvalidation.js"></script>
<style type="text/css">
.uploadinput {
	display: block;
	margin-bottom: 6px;
}
</style>
</head>
<body id="bodybg">
<div id="container">
<div id="footer">
<?php 

//#########INCLUDE FILES########
include_once 'clsFetchData.php';
//##############################

$arrayCategoryList = array();
$objFetchData = new clsFetchData();
$arrayCategoryList = $objFetchData->FetchAllCategories();


?>
<form action="listdatasave.php" enctype="multipart/form-data" method="post" name="ListYourBusiness" id="ListYourBusiness" onsubmit="return validate(this);">
          <table width="675" border="0" cellspacing="0" cellpadding="0" align="left" bgcolor="#f1f2f3" style="padding: 15px 15px 15px 15px">
            
            <tr valign="top"> 
              <td width="375" height="80px;"> 
                <div align="left"><b>Please choose a Category from the drop down list:&nbsp;</b><br />
                  <span class="textsmall">Example: Attractions</span></div><br />

              </td>
              <td width="300"><div align="left"> 
                <select name="businessCategory[]" multiple="multiple" style="width: 200px;">
					<?php 
					
					foreach ($arrayCategoryList as $arrData)
					{
						$category = stripslashes($arrData['name']);
						?>
						<option value="<?php echo $category; ?>"><?php echo $category; ?></option>
						<?php 
					}
					?>
			   </select>
			   </div>
            </td>
            </tr>
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Give your business listing a Title:&nbsp;<span style="color: #F00;">*</span></b><br />
                  <span class="textsmall">Example: Kelowna Dinner Cruises</span></div><br />

              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="listingTitle" id="listingTitle" size="45" value="">
              </div>
</td>
            </tr>
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Describe your business in 50 words or less:&nbsp;</b><br />
                  </div><br />

              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="businessDesc" size="45" value="" />
              </div>
</td>
            </tr>
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>A short Text Summary about your business:&nbsp;</b><br />
                  <span class="textsmall">Example: We do dinner cruises & public tours in Kelowna<br />
                  (72 Characters Maximum)</span></div><br />

              </td>
              <td><div align="left"> 
               
<input name="shortSummary" type="text" maxlength="72" size="45"><br>

</div>
</td>
            </tr>
            
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Business Phone Number:&nbsp;<span style="color: #F00;">*</span></b><br />
                  <span class="textsmall">Example: 250-215-2779</span></div><br />

              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="phone" id="phone" size="45" value="">
              </div>
</td>
            </tr>
            <!-- TOLL FREE AND FAX STARTS -->
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Toll-free Number:&nbsp;</b><br />
              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="tollfree" id="tollfree" size="45" value="">
              </div>
</td>
            </tr>
            
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Fax Number:&nbsp;</b><br />
                                </td>
              <td width="300"><div align="left"> 
                <input type="text" name="fax" id="fax" size="45" value="">
              </div>
</td>
            </tr>
            <!-- TOLL FREE AND FAX ENDS -->
            <tr> 
              <td width="375"> 
                <div align="left"><b>Business Street Address:&nbsp;</b><br />
                  <span class="textsmall">Example: 100 Bernard Ave Kelowna BC V1Y9G3</span></div><br />

              </td>
              <td width="300" valign="top"><div align="left"> 
                <input type="text" name="streetAddress" size="45" value="">
              </div>
</td>
            </tr>
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>What City is your business in?:&nbsp;<span style="color: #F00;">*</span></b><br />
                  <span class="textsmall">Example: Kelowna, BC</span></div><br />


              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="city" id="city" size="45" value="">
              </div><br />

</td>
            </tr>
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>State / Province :&nbsp;<span style="color: #F00;">*</span></b><br />
                  <span class="textsmall">Example: BC</span></div><br />


              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="state" id="state" size="45" value="" maxlength="2">
              </div><br />

</td>
            </tr>
            <!-- Zip C0de -->
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Zip code :</div><br />
              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="zipCode" id="zipCode" size="45" value="" >
              </div><br />
			</td>
            </tr>
            <!-- Zip Code Ends -->
            <tr> 
              <td> 
                <div align="left"><b>Business Email Address:&nbsp;</b><br />
                  <span class="textsmall">Example:  info@kelownadinnercruises.com</span></div><br />

              </td>
              <td width="300" valign="top"><div align="left"> 
                <input type="text" name="email" size="45" value="">
              </div>
</td>
            </tr>
            
            <tr> 
              <td> 
                <div align="left"><b>Business Website Address:&nbsp;</b><br />
                  <span class="textsmall">Example: www.kelownadinnercruises.com</span></div><br />

              </td>
              <td width="300" valign="top"><div align="left"> 
                <input type="text" name="website" size="45" value="">
              </div>
</td>
            </tr>
            
            <tr> 
              <td> 
                <div align="left"><b>Business Audio URL:&nbsp;</b><br />
</div><br />
<br />

              </td>
              <td width="300" valign="top"><div align="left"> 
                <input type="text" name="audioURL" size="45" value="">
              </div>
</td>
            </tr>
            
            <tr> 
              <td> 
                <div align="left"><b>Business Video URL (must be a MPEG 4 or YouTube):&nbsp;</b><br />
                  <span class="textsmall">Example: http://www.youtube.com/watch?v=NRaQTrmfAR8</span></div><br />

              </td>
              <td width="300" valign="top"><div align="left"> 
                <input type="text" name="videoURL" size="45" value="">
              </div>
</td>
            </tr>
            
            <tr> 
              <td width="300" valign="top"> 
                <div align="left">
                  <b>Upload your Business Logo:&nbsp;<span style="color: #F00;">*</span></b><br /><br />

                </div>
              </td>
              <td width="300" valign="top"><div align="left"> 
                <input type="file" name="upload1" id="upload1" size="35" value="" />
              </div>
</td>
            </tr>
            
            <tr> 
              <td width="300" valign="top"> 
                <div align="left"><b>Upload Up to 4 photos of your business:&nbsp;</b><br /><br />

                
</div>
              </td>
              <td width="300" valign="top"><div align="left"> 
                <input id="upload2" class="uploadinput" type="file" name="upload2" size="35" value="" />
                <input id="upload3" class="uploadinput" type="file" name="upload3" size="35" value="" />
                <input id="upload4" class="uploadinput" type="file" name="upload4" size="35" value="" />
                <input id="upload5" class="uploadinput" type="file" name="upload5" size="35" value="" />
                <b>You may upload GIF, JPG, JPEG, and PNG files.</b>
              </div>
</td>
            </tr>
            <tr valign="top"> 
              <td width="375"> 
                <div align="left" style="height:25px">
                  <!--NULL SPACER DIV-->
                </div>
              </td>
              <td width="300">
                <div align="left" style="height:25px"> 
                  <!--NULL SPACER DIV-->
                </div>
				</td>
            </tr>               
            <tr valign="top"> 
              <td width="375"> 
                <div align="left"><b>Name of GlobalToDo Sales Rep:</b></div><br />
              </td>
              <td width="300"><div align="left"> 
                <input type="text" name="salesRep" size="45" value="" id="salesRep">
              </div>
</td>
            </tr>            
            <tr> 
              <td colspan="2" align="center">
                <br />
                 <input type="checkbox" name="termsConfirm" id="termsConfirm" value="Terms Agree Yes" /><b>I hereby accept all the terms and conditions&nbsp;</b><br /><br />
              </td>
            </tr>
            <tr> 
              <td colspan="2"> 
                <div align="center"> 
                  <INPUT TYPE="submit" VALUE="Submit" onclick="validateItems();">
                  <INPUT TYPE="reset" VALUE="Clear">
                </div>
              </td>
            </tr>
            </table>
                          
              
        </form>
            </div>
            </div>
            </body>
            </html>